package bch.maven.plugin.event;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

import java.util.concurrent.CompletableFuture;

public class SyncResultEvent extends ApplicationEvent {
    private Object result;

    public SyncResultEvent(Object source, Object resultFuture) {
        super(source);
        this.result = resultFuture;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}